package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

/**
 * (Role)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:30:26
 */
@ApiModel(value = "角色信息")
public class Role implements Serializable {
    private static final long serialVersionUID = -57136157401555175L;
    /**
     * 角色id
     */
    @ApiModelProperty(name = "roleId",notes = "角色id",value = "角色id")
    private Integer roleId;
    /**
     * 角色名称
     */
    @ApiModelProperty(name = "roleName",notes = "角色名称",value = "角色名称")
    private String roleName;
    /**
     * 角色描述
     */
    @ApiModelProperty(name = "roleDescribe",notes = "角色描述",value = "角色描述")
    private String roleDescribe;
    /**
     * 角色状态
     */
    @ApiModelProperty(name = "roleState",notes = "角色状态",value = "角色状态")
    private Integer roleState;
    /**
     * 权限菜单
     */
    private List<PowerMenu> powerMenuList;

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRoleDescribe() {
        return roleDescribe;
    }

    public void setRoleDescribe(String roleDescribe) {
        this.roleDescribe = roleDescribe;
    }

    public Integer getRoleState() {
        return roleState;
    }

    public void setRoleState(Integer roleState) {
        this.roleState = roleState;
    }

    public List<PowerMenu> getPowerMenuList() {
        return powerMenuList;
    }

    public void setPowerMenuList(List<PowerMenu> powerMenuList) {
        this.powerMenuList = powerMenuList;
    }

    @Override
    public String toString() {
        return "Role{" +
                "roleId=" + roleId +
                ", roleName='" + roleName + '\'' +
                ", roleDescribe='" + roleDescribe + '\'' +
                ", roleState=" + roleState +
                ", powerMenuList=" + powerMenuList +
                '}';
    }
}